USING SAS, SAS/ACCESS, AND SQL PASSTHROUGH TO QUERY AND JOIN ORACLE TABLES: An Example Using the Health Care Finance Administration’s SDPS (Medicare) Database

نویسنده

  • Barbara B. Okerson
چکیده

Medicare Encounter data is received by each state’s Peer Review Organization as an Oracle database known as the SDPS (Standard Data Processing System) data set. This data set is used for quality improvement projects, integrity investigations, and research. This data set is then queried with SAS software and the SAS SQL pass-through facility. Often the criteria for selecting data from the SDPS data set are contained in a preextracted SAS data set. Using the criterion information from the SAS data set, additional data is extracted from the SDPS database and merged or combined with the existing SAS data set or its information. In this example used to document comorbidities and disease progression for HIV, a SAS data set is run against the SDPS Oracle database to obtain subsequent admissions and diagnoses for each patient (Medicare beneficiary). This paper illustrates four methods for performing this query using SAS/ACCESS, SAS/CONNECT, and Proc SQL.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using the SAS/ACCESS® Libname Technology to Get Improvements in Performance and Optimizations in SAS/SQL Queries

This paper highlights the new features in the SAS/ACCESS libname engines that, when used judiciously, can improve overall engine scalability in the areas of loading/extraction, ASYNC I/O, and SQL-based query optimizations. The new loading/extraction engine features are: • Multi-row reads • DBKEY • Bulk loading • Multi-row writes The new ASYNC I/O features are: • PreFetch • SAS server task switc...

متن کامل

ET07-2006: When PROC SQL Is Overwhelmed: How to Use the SyncJoin Algorithm to Match Millions of Records Fast

To join two huge data sets containing millions of observations each, either in SAS software or an RDBMS product such as Oracle, we usually rely on the built-in query optimizations provided by the SAS SQL procedure or the RDBMS product. In most cases, the built-in optimizations successfully avoid a full Cartesian product join of the tables and accomplish the query efficiently. However, there are...

متن کامل

Direct Addressing Techniques of Table Look-up

Table look-up is the most time-consuming part of many SAS programs. Base SAS offers a rich collection of built-in searching techniques. Merging, SQL joins, formats, SAS indexes all serve the purpose of locating relevant data. For custom programming, SAS offers arrays, whose direct addressability lends itself to implementing just about any searching algorithm. Array-based lookup is not a ready-t...

متن کامل

Quick Results with PROC SQL

Structured Query Language (SQL) is a universal language that allows you to access data stored in relational databases or tables. This hands-on workshop presents core concepts and features on using PROC SQL to access data stored in relational database tables. Attendees learn how to define, access, and manipulate data from one or more tables using PROC SQL quickly and easily. Numerous examples ar...

متن کامل

A Visual Introduction to PROC SQL Joins.PDF

Real systems rarely store all their data in one large table. To do so would require maintaining several duplicate copies of the same values and could threaten the integrity of the data. Instead, IT departments everywhere almost always divide their data among several different tables. Because of this, a method is needed to simultaneously access two or more tables to help answer the interesting q...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999